﻿@page
@inherits Acesoft.Web.UI.RazorPages.WebPage
@{
    Layout = "_shared/edit";
    ViewData["Title"] = "编辑";

    var id = App.GetQuery("id", "");
    Ace.View().Id("view").Ajax(ds => ds.Form(() => new
    {
        path = id,
        newpath = id
    }).HttpPost("file", "copyfolder")).Content(
    @<div class="container-fluid">
        <div class="row">
            <div class="col-xs-2 text-r"><span class="cr-red">*</span> 原始目录：</div>
            <div class="col-xs-6">@Ace.TextBox().Name("path").Width("100%").Disabled()</div>
            <div class="col-xs-4"></div>
        </div>
        <div class="row">
            <div class="col-xs-2 text-r"><span class="cr-red">*</span> 目标目录：</div>
            <div class="col-xs-6">@Ace.TextBox().Name("newpath").Width("100%").Required()</div>
            <div class="col-xs-4"></div>
        </div>
        @Html.AntiForgeryToken()
    </div>
    ).Render();
}